import axios from '@/libs/axios'

//目标群体列表
export const targetList = params => { return axios.post('api/bs/info/targetList', params).then(res => res.data)};
//目标群体保存
export const targetSave = params => { return axios.post('api/bs/info/targetSave', params).then(res => res.data)};

//季节列表
export const seasonList = params => { return axios.post('api/bs/info/seasonList', params).then(res => res.data)};
//季节保存
export const seasonSave = params => { return axios.post('api/bs/info/seasonSave', params).then(res => res.data)};

//品牌列表
export const brandList = params => { return axios.post('api/bs/info/brandList', params).then(res => res.data)};
//品牌保存
export const brandSave = params => { return axios.post('api/bs/info/brandSave', params).then(res => res.data)};

//成品颜色列表
export const colourList = params => { return axios.post('api/bs/info/colourList', params).then(res => res.data)};
//成品颜色状态设置
export const colourStateSet = params => { return axios.post('api/bs/info/colourStateSet', params).then(res => res.data)};
//成品颜色保存
export const colourSave = params => { return axios.post('api/bs/info/colourSave', params).then(res => res.data)};

//成品类型列表
export const classList = params => { return axios.post('api/bs/info/classList', params).then(res => res.data)};
//成品类型保存
export const classSave = params => { return axios.post('api/bs/info/classSave', params).then(res => res.data)};

//设计分类列表
export const categoryList = params => { return axios.post('api/bs/info/categoryList', params).then(res => res.data)};
//设计分类保存
export const categorySave = params => { return axios.post('api/bs/info/categorySave', params).then(res => res.data)};
//设计分类删除
export const categoryDel = params => { return axios.post('api/bs/info/categoryDel', params).then(res => res.data)};

//设计类型列表
export const typeList = params => { return axios.post('api/bs/info/typeList', params).then(res => res.data)};
//设计类型保存
export const typeSave = params => { return axios.post('api/bs/info/typeSave', params).then(res => res.data)};

//文化属性列表
export const cultureList = params => { return axios.post('api/bs/info/cultureList', params).then(res => res.data)};
//文化属性保存
export const cultureSave = params => { return axios.post('api/bs/info/cultureSave', params).then(res => res.data)};

//商品属性列表
export const goodsList = params => { return axios.post('api/bs/info/goodsList', params).then(res => res.data)};
//商品属性保存
export const goodsSave = params => { return axios.post('api/bs/info/goodsSave', params).then(res => res.data)};
//商品属性删除
export const goodsDel = params => { return axios.post('api/bs/info/goodsDel', params).then(res => res.data)};

//套装列表
export const suitList = params => { return axios.post('api/bs/info/suitList', params).then(res => res.data)};
//套装保存
export const suitSave = params => { return axios.post('api/bs/info/suitSave', params).then(res => res.data)};
//套装删除
export const suitDel = params => { return axios.post('api/bs/info/suitDel', params).then(res => res.data)};

//核价类型列表
export const ptypeList = params => { return axios.post('api/bs/info/ptypeList', params).then(res => res.data)};
//核价类型保存
export const ptypeSave = params => { return axios.post('api/bs/info/ptypeSave', params).then(res => res.data)};
//核价类型删除
export const ptypeDel = params => { return axios.post('api/bs/info/ptypeDel', params).then(res => res.data)};

//核价用途列表
export const puseList = params => { return axios.post('api/bs/info/puseList', params).then(res => res.data)};
//核价用途保存
export const puseSave = params => { return axios.post('api/bs/info/puseSave', params).then(res => res.data)};
//核价用途删除
export const puseDel = params => { return axios.post('api/bs/info/puseDel', params).then(res => res.data)};

//工艺类型列表
export const artsList = params => { return axios.post('api/bs/info/artsList', params).then(res => res.data)};
//工艺类型保存
export const artsSave = params => { return axios.post('api/bs/info/artsSave', params).then(res => res.data)};
//工艺类型删除
export const artsDel = params => { return axios.post('api/bs/info/artsDel', params).then(res => res.data)};

//样衣工序列表
export const sampleList = params => { return axios.post('api/bs/info/sampleList', params).then(res => res.data)};
//样衣工序保存
export const sampleSave = params => { return axios.post('api/bs/info/sampleSave', params).then(res => res.data)};
//样衣工序删除
export const sampleDel = params => { return axios.post('api/bs/info/sampleDel', params).then(res => res.data)};

//物料单位列表
export const munitList = params => { return axios.post('api/bs/info/munitList', params).then(res => res.data)};
//物料单位保存
export const munitSave = params => { return axios.post('api/bs/info/munitSave', params).then(res => res.data)};
//物料单位删除
export const munitDel = params => { return axios.post('api/bs/info/munitDel', params).then(res => res.data)};

//物料分类列表
export const mcategoryList = params => { return axios.post('api/bs/info/mcategoryList', params).then(res => res.data)};
//物料分类保存
export const mcategorySave = params => { return axios.post('api/bs/info/mcategorySave', params).then(res => res.data)};
//物料分类删除
export const mcategoryDel = params => { return axios.post('api/bs/info/mcategoryDel', params).then(res => res.data)};

//物料属性
export const attribute = params => { return axios.post('api/bs/info/attribute', params).then(res => res.data)};
